A CSP solution to the "trains" problem

نویسنده

  • A. W. Roscoe
چکیده

The problem as stated leaves one in doubt as to what one must do. Is one meant to abstractly specify the safety and liveness properties one desires of the network? Is one meant to provide some plausible ~'implementation ~' which gaurantees the basic principle that two trains must not be simultaneously on the same piece of track? Perhaps we are even meant to enter ~he realm of inventing scheduling algorit~/ms for the flow of trains. Of course any complete solution to the problem must, in some sense, address all of these issues. The scheduling problem seems, however, to be outside the scope of the workshop. The solution presented here is a CSP program which addresses the second question above. It can be proved to satisfy certain abstract conditions, and can of course be used as a base (guaranteeing safety) upon which to build any scheduling programs. It is by no means the simplest program which guarantees safety: instead it shows how CSP can be used to create a control structure more realistic than if, say, the actual events of a train enter&ng or leaving a piece of track were "negotiable". The only approach we make towards scheduling is to allow trains to book line sections one step ahead, and to seek an alternative line if the first one they try to book is in use. The element of external control left in the network is in the hands of (notional) train drivers. It would of course be expected that the drivers be controlled and regulated by some signalling system; this higher level of detail is omitted. Of course the particular control structure chosen here is only one of many which have the desired safety properties. No special merit is claimed for the particular solution given, and the reader is invited to devise his own program to model his o,~nideas on how the network should be regulated and controlled. The main purpose of this solution is to illustrate the power of CaP in precisely specifying parallel interaction. As in all CSP programs, communication is achieved by the synchronisation of euent~, or actions, of the elements of the network. Each process has its own a l p ~ b e t of events; in the operation of the network, an event can only occur if all the processes in whose alphabets it is are willing to communicate it. This situation is easiest …

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The trim loss concentration in one-dimensional cutting stock problem (1D-CSP) by defining a virtual cost

Nowadays, One-Dimensional Cutting Stock Problem (1D-CSP) is used in many industrial processes and re-cently has been considered as one of the most important research topic. In this paper, a metaheuristic algo-rithm based on the Simulated Annealing (SA) method is represented to minimize the trim loss and also to fo-cus the trim loss on the minimum number of large objects. In this method, the 1D-...

متن کامل

Concurrent Locomotive Assignment and Freight Train Scheduling

The locomotive assignment and the freight train scheduling are important problems in railway transportation. Freight cars are coupled to form a freight rake. The freight rake becomes a train when a locomotive is coupled to it. The locomotive assignment problem assigns locomotives to a set of freight rakes in a way that, with minimum locomotive deadheading time, rake coupling delay and locomotiv...

متن کامل

Locomotive assignment problem with train precedence using genetic algorithm

This paper aims to study the locomotive assignment problem which is very important for railway companies, in view of high cost of operating locomotives. This problem is to determine the minimum cost assignment of homogeneous locomotives located in some central depots to a set of pre-scheduled trains in order to provide sufficient power to pull the trains from their origins to their destinations...

متن کامل

Dynamic Cargo Trains Scheduling for Tackling Network Constraints and Costs Emanating from Tardiness and Earliness

This paper aims to develop a multi-objective model for scheduling cargo trains faced by the costs of tardiness and earliness, time limitations, queue priority and limited station lines. Based upon the Islamic Republic of Iran Railway Corporation (IRIRC) regulations, passenger trains enjoy priority over other trains for departure. Therefore, the timetable of cargo trains must be determined based...

متن کامل

بهبود کارایی طبقه‌بندی‌کننده مبتنی بر نمایش تنک برای طبقه‌بندی سیگنالهای مغزی

In this paper, the problem of classification of motor imagery EEG signals using a sparse representation-based classifier is considered. Designing a powerful dictionary matrix, i.e. extracting proper features, is an important issue in such a classifier. Due to its high performance, the Common Spatial Patterns (CSP) algorithm is widely used for this purpose in the BCI systems. The main disadvanta...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1983